package com.lorizz.index.impl;

import com.lorizz.index.SortItem;

public class SortItemImpl implements SortItem {
	
	private String field;
	private boolean ascending;
	
	public SortItemImpl(String field, boolean ascending) {
		this.field = field;
		this.ascending = ascending;
	}

	@Override
	public String getField() {
		return field;
	}

	@Override
	public boolean isAscending() {
		return ascending;
	}

}
